TUTOR\Quiz D

Total Complexity 219
Dependencies 8
Dependents 3
Total lines 2,105
Lines of code 1,303
Logical lines of code 622
Comment lines 482
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
manage_attempt_answers()
D
26
27 168
tutor_save_quiz_answer_options()
C
34 22 92
tutor_update_quiz_answer_options()
A
44 16 39
ajax_quiz_question_answer_save()
A
38 12 77
review_quiz_answer()
A
37 12 74
ajax_quiz_save()
A
41 10 57
ajax_quiz_question_update()
A
39 9 66
quiz_attempt()
A
41 9 54
ajax_mark_answer_as_correct()
A
40 8 67
ajax_quiz_delete()
S
45 6 42
tutor_load_quiz_builder_modal()
S
54 7 18
tutor_instructor_feedback()
S
51 6 25
tutor_quiz_attemp_submit()
S
55 6 17
ajax_quiz_question_create()
S
47 4 36
tutor_quiz_question_answer_editor()
S
53 5 20
ajax_quiz_question_sorting()
S
52 4 24
ajax_quiz_question_answer_sorting()
S
52 4 24
ajax_quiz_question_delete()
S
55 4 21
finishing_quiz_attempt()
S
52 3 23
start_the_quiz()
S
56 3 17
attempt_delete()
S
57 3 16
add_true_false_options()
S
51 2 30
ajax_quiz_question_answer_delete()
S
60 3 12
tutor_quiz_abandon()
S
64 3 11
tutor_quiz_builder_change_type()
S
53 2 23
tutor_quiz_timeout()
S
55 2 19
__construct()
S
47 1 33
ajax_quiz_details()
S
58 2 16
get_answers_by_q_id()
S
59 2 16
tutor_render_quiz_content()
S
58 2 15
get_default_quiz_settings()
S
55 1 21
quiz_modes()
S
56 1 20
update_attempt_info()
S
63 2 10
do_auto_course_complete()
S
71 2 6
save_quiz_meta()
S
70 2 6
remove_quiz_from_post()
S
62 2 10
answering_quiz()
S
67 2 8
prepare_allowed_html()
S
69 2 7
attempt_details()
S
62 1 13
get_quiz_total_marks()
S
63 1 12
quiz_question_layouts()
S
64 1 9
quiz_question_orders()
S
64 1 9
quiz_time_units()
S
63 1 10
get_default_question_settings()
S
64 1 10